package com.thiswhyme.redis.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description: 自定义redis配置
 * @author: thiswhyme
 * @date: 2021/6/18
 */
@Data
@ConfigurationProperties(prefix = "thiswhyme.redis")
public class BizRedisProperties {

    /**
     * 是否启用RedissonClient
     */
    private Boolean enableRedisson = false;

    /**
     * 是否启用redis注册监听
     */
    private Boolean enableSubscribe = false;
}
